package com.zygh.policeasset;

import com.zygh.policeasset.config.FileProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableConfigurationProperties({FileProperties.class})
@EnableScheduling
@SpringBootApplication
@EnableTransactionManagement
@MapperScan({"com.zygh.policeasset.mapper"})
public class PoliceAssetApplication {

    public static void main(String[] args) {
        SpringApplication.run(PoliceAssetApplication.class, args);
    }

}
